package com.cvo.scrumtoolkit.client.services;


import java.util.List;



import com.cvo.scrumtoolkit.client.entities.BacklogItem;
import com.cvo.scrumtoolkit.client.entities.Project;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("scrum")
public interface ScrumToolService extends RemoteService {

	List<Project> getProjects() throws Exception ;
	Project projectsave(Project project) throws Exception;
	Project projectload(String project) throws Exception;
	List<BacklogItem> getItems(String project) throws Exception;
	BacklogItem saveItem(BacklogItem obj) throws Exception;
	BacklogItem getItem(long id) throws Exception;
	void updateItem(BacklogItem obj) throws Exception;
	int getNumberOfItems(Project project) throws Exception;	
}
